package com.lxmes.business.service;

import java.util.List;
import com.lxmes.business.domain.NcQualityInspectionEquipment;

/**
 * 质检设备档案Service接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface INcQualityInspectionEquipmentService 
{
    /**
     * 查询质检设备档案
     * 
     * @param id 质检设备档案主键
     * @return 质检设备档案
     */
    public NcQualityInspectionEquipment selectNcQualityInspectionEquipmentById(Long id);

    /**
     * 查询质检设备档案列表
     * 
     * @param ncQualityInspectionEquipment 质检设备档案
     * @return 质检设备档案集合
     */
    public List<NcQualityInspectionEquipment> selectNcQualityInspectionEquipmentList(NcQualityInspectionEquipment ncQualityInspectionEquipment);

    /**
     * 新增质检设备档案
     * 
     * @param ncQualityInspectionEquipment 质检设备档案
     * @return 结果
     */
    public int insertNcQualityInspectionEquipment(NcQualityInspectionEquipment ncQualityInspectionEquipment);

    /**
     * 修改质检设备档案
     * 
     * @param ncQualityInspectionEquipment 质检设备档案
     * @return 结果
     */
    public int updateNcQualityInspectionEquipment(NcQualityInspectionEquipment ncQualityInspectionEquipment);

    /**
     * 批量删除质检设备档案
     * 
     * @param ids 需要删除的质检设备档案主键集合
     * @return 结果
     */
    public int deleteNcQualityInspectionEquipmentByIds(Long[] ids);

    /**
     * 删除质检设备档案信息
     * 
     * @param id 质检设备档案主键
     * @return 结果
     */
    public int deleteNcQualityInspectionEquipmentById(Long id);
    /**
     * 导入质检设备档案信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcQualityInspectionEquipment> ncQualityInspectionEquipmentList, boolean updateSupport, String operName);
}
